import { NgModule, Type } from '@angular/core';
import { SharedModule } from '@shared';
import { NzTransferModule } from 'ng-zorro-antd/transfer';
import { NzTreeModule } from 'ng-zorro-antd/tree';

import { SecurityMenuComponent } from './menu/menu.component';
import { PasswordComponent } from './password/password.component';
import { SecurityRoleEditComponent } from './role/edit/edit.component';
import { SecurityRoleComponent } from './role/role.component';
import { SecurityRoutingModule } from './security-routing.module';
import { SecurityUserEditComponent } from './user/edit/edit.component';
import { SecurityUserComponent } from './user/user.component';

const COMPONENTS = [
  SecurityUserComponent,
  SecurityUserEditComponent,
  SecurityRoleComponent,
  SecurityRoleEditComponent,
  SecurityMenuComponent,
  PasswordComponent
];

@NgModule({
  imports: [SharedModule, SecurityRoutingModule, NzTreeModule, NzTransferModule],
  declarations: COMPONENTS
})
export class SecurityModule {}
